 package market.impl;

import market.DiscountProxy;

import java.math.BigDecimal;

import market.constant.CommonConstant;


 /**
 * 八折优惠策略
 */
public class EightDiscountProxy implements DiscountProxy {

    @Override
    public BigDecimal getAfterDiscountPrice(BigDecimal price) {
        return price.multiply(CommonConstant.EightDiscount);
    }
 }
